package finalproject.shared;


import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Vak implements Serializable {

	private static final long serialVersionUID = 1L;
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long vakNr;
	@Persistent
	private Long docentNr;
	@Persistent
	private String Naam;
	
	
	
	public Vak() {
		super();
	}

	public Vak(String ects, String naam) {
		super();
		this.Naam = naam;
	}

	public Long getVakNr() {
		return vakNr;
	}

	public void setVakNr(Long vakNr) {
		this.vakNr = vakNr;
	}

	public Long getDocentNr() {
		return docentNr;
	}

	public void setDocentNr(Long docentNr) {
		this.docentNr = docentNr;
	}
	

	public String getNaam() {
		return Naam;
	}

	public void setNaam(String naam) {
		this.Naam = naam;
	}

	
	
}
